package com.nineclock.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nineclock.system.pojo.SysCompanyUser;
import com.nineclock.system.pojo.SysCompanyUserPaying;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: Xu
 * @Date: 2021/12/04/21:06
 */
public interface SysCompanyUserPayingMapper  extends BaseMapper<SysCompanyUserPaying> {

@Select("SELECT * FROM sys_company_user_pay WHERE company_id = #{companyId};")
     List<SysCompanyUserPaying> findByCompany( @Param("companyId") Long companyId);
}
